package org.istt.model;

import org.istt.domain.Menu;


public class MenuBean implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long id;
    private String formName;
    private String name;
    private Integer position;
    private String icon;
    private Boolean isActive;
    private String url;
    private Boolean isFather;
    private Boolean isSelected;

    // Constructors
    public MenuBean(Menu menu) {
    	this.id = menu.getId();
    	this.formName = menu.getFormName();
    	this.name = menu.getName();
    	this.isFather = menu.getIsFather();
    	this.isActive = menu.getIsActive();
    }

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public String getFormName() {
        return this.formName;
    }
    
    public void setFormName(String formName) {
        this.formName = formName;
    }
    
    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public Integer getPosition() {
        return this.position;
    }
    
    public void setPosition(Integer position) {
        this.position = position;
    }
    
    public String getIcon() {
        return this.icon;
    }
    
    public void setIcon(String icon) {
        this.icon = icon;
    }
    
    public Boolean getIsActive() {
        return this.isActive;
    }
    
    public void setIsActive(Boolean isActive) {
        this.isActive = isActive;
    }
    
    public String getUrl() {
        return this.url;
    }
    
    public void setUrl(String url) {
        this.url = url;
    }


	public void setIsFather(Boolean isFather) {
		this.isFather = isFather;
	}

	public Boolean getIsFather() {
		return isFather;
	}

	public void setIsSelected(Boolean isSelected) {
		this.isSelected = isSelected;
	}

	public Boolean getIsSelected() {
		return isSelected;
	}
}